package com.yayan.xh.dao;

import java.util.Map;

public interface IMemberDao {
	
	/**
	 * 通过编号查询会员信息
	 * @param map
	 * @return
	 * @throws Exception
	 */
	Map<String, Object> getMemberByUid(Map<String, String> map) throws Exception;
	
	/**
	 * 通过openid查询会员信息
	 * @param map
	 * @return
	 * @throws Exception
	 */
	Map<String, Object> getMemberByOpenid(Map<String, String> map) throws Exception;
	
	/**
	 * 保存会员数据
	 * @param map
	 * @return
	 * @throws Exception
	 */
	long saveMember(Map<String, String> map) throws Exception;
	
	/**
	 * 修改用户信息
	 * @param map
	 * @return
	 * @throws Exception
	 */
	boolean updateMember(Map<String, String> map) throws Exception;
	
	/**
	 * 修改用户标签
	 * @param map
	 * @return
	 * @throws Exception
	 */
	boolean modifyUserTable(Map<String, String> map) throws Exception;

}
